/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: UserState.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/21 下午2:55
 * LastModified: 2020/03/21 14:55:21
 */

package com.qolome.knowledge.design.pattern.state.gper;

/**
 * @author Qolome
 * @version V1.0
 * @Description 用户状态
 * @date 2020年 03月21日 14:55:49
 */
public abstract class UserState {

    protected ApplicationContext context;

    /**
     * 收藏
     */
    public abstract void favorite();

    /**
     * 评论
     */
    public abstract void comment(String comment);

    public void setContext(ApplicationContext context) {
        this.context = context;
    }


}
